<template>
  <div>
    我是自定义指令
    <!--<button v-focus="hello">按钮</button>-->
    <input type="text" v-focus>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        hello: 'hello'
      }
    },
    name: "MyDirective"
  }
</script>

<style scoped>

</style>
